package com.example.unisys.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.unisys.entity.StuExam;
import com.example.unisys.dao.StuExamMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;

@Service
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class StuExamService extends ServiceImpl<StuExamMapper,StuExam> {


    public StuExam getStuExamByParams(HashMap<String, Object> hs) {
        return baseMapper.getStuExamByParams(hs);
    }

}
